PointPrimitive

您所在的位置:网站首页 cesium pointprimitive PointPrimitive

PointPrimitive

2023-08-30 04:35| 来源: 网络整理| 查看: 265

new Cesium.PointPrimitive() Scene/PointPrimitive.js 59 A graphical point positioned in the 3D scene, that is created and rendered using a PointPrimitiveCollection. A point is created and its initial properties are set by calling PointPrimitiveCollection#add. Performance:

Reading a property, e.g., PointPrimitive#show, is constant time. Assigning to a property is constant time but results in CPU to GPU traffic when PointPrimitiveCollection#update is called. The per-pointPrimitive traffic is the same regardless of how many properties were updated. If most pointPrimitives in a collection need to be updated, it may be more efficient to clear the collection with PointPrimitiveCollection#removeAll and add new pointPrimitives instead of modifying each one.

Throws: DeveloperError : scaleByDistance.far must be greater than scaleByDistance.near DeveloperError : translucencyByDistance.far must be greater than translucencyByDistance.near DeveloperError : distanceDisplayCondition.far must be greater than distanceDisplayCondition.near Demo: Cesium Sandcastle Points Demo See: PointPrimitiveCollection PointPrimitiveCollection#add


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3